home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-03-10 | 2.3 KB | 66 lines | [TEXT/ttxt] |
- Project Printer FKEY 1.0
-
- Copyright © 1992 Phil Shapiro
- All Rights Reserved
-
- Description
-
- This is an FKEY which will produce a list of the files in a THINK C project.
- It will list the file names, object sizes, and segmentation information. It
- was tested under System 7 with THINK C 5.0 and 4.0. It should work with
- earlier versions of THINK C under System 6 as well.
-
- Installation and Use
-
- Since this FKEY is only useful inside of THINK C, I would recommend using
- ResEdit to add the FKEY resource directly to the resource fork of THINK C.
- Once installed, just hit the FKEY (command-shift-5 by default) and a list
- of the files in the current project is pasted into an Untitled window. If
- you don't have a project open, or try to use it when you're not in THINK C,
- nothing will happen.
-
- The project window must be the frontmost window in THINK C, and the
- thumb for the project window's scrollbar should be at the top. See Bugs
- below for more information.
-
- Customizing
-
- You can change the FKEY's command-shift number by changing the resource
- ID number for the FKEY resource. This can be done using ResEdit's "Get
- Resource Info" menu item.
-
- How it works
-
- This FKEY uses a technique similar to the one used in James Walker's Text
- Capture FKEY. It first resizes and invalidates the project window, and then
- patches the traps that THINK C uses to redraw the window's contents. By
- watching the data sent to these patches, all the information displayed in
- the project window can be collected and printed out. Since this doesn't rely
- on the project's internal format, it should work with any version of THINK
- C. However, this limits the information that can be displayed to just the
- names and sizes of the project entries.
-
- Bugs/Odd Features
-
- The FKEY will only work if the Project window is frontmost. Also, if the
- Project window isn't scrolled to the top, only the files below the current
- window position will be printed out. This should be fixed in the next
- version.
-
- The list produced by this FKEY is in reverse order of the list names
- displayed by THINK C. This is because THINK C draws the project window
- from the bottom up. This could be fixed if there is enough interest.
-
- Version History
-
- 1.0 - initial release on 3/7/92
-
- Please contact me if you find any bugs, or have any suggestions for
- improvements!
-
- Phil Shapiro
-
- Internet: phils@cs.brandeis.edu
- Postal:
- 70 Simpson Ave.
- Somerville, MA 02144